export const articleListSc = [
  {
    label: '文章封面（查看大图）',
    center: true,
    template: {
      type: 'image',
      prop: 'article_cover_url',
    },
  },
  {
    label: '标题',
    template: {
      type: 'text',
      prop: 'article_title',
    },
    center: true,
    width: 150,
  },
  {
    label: '类型',
    template: {
      type: 'text',
      prop: 'article_type_name',
    },
    center: true,
  },
  {
    label: '标签',
    template: {
      type: 'tag',
      prop: 'labels',
    },
    center: true,
    width: 100,
  },
  {
    label: '评论数量',
    template: {
      type: 'text',
      prop: 'article_comment_count',
    },
    center: true,
  },
  {
    label: '发表时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 180,
  },
  {
    label: '置顶',
    template: {
      type: 'switch',
      prop: 'is_sticky',
    },
    center: true,
  },
  {
    label: '推荐',
    template: {
      type: 'switch',
      prop: 'is_recommend',
    },
    center: true,
  },
]
export const articleSearchForm = [
  {
    label: '文章标题',
    prop: 'article_title',
    element: 'input',
    placeholder: '输入文章标题...',
  },
  {
    label: '文章类型',
    prop: 'article_type',
    element: 'select',
    options: [],
  },
]
export const commentArticleListSc = [
  {
    label: '头像',
    template: {
      type: 'image',
      prop: 'avatar_url',
    },
    center: true,
    width: 60,
  },
  {
    label: '评论者',
    template: {
      type: 'text',
      prop: 'user_nickname',
    },
    center: true,
    width: 120,
  },
  {
    label: '文章标题',
    template: {
      type: 'text',
      prop: 'article_title',
    },
    center: true,
    width: 120,
  },
  {
    label: '评论内容',
    template: {
      type: 'text',
      prop: 'content',
    },
    center: true,
    width: 120,
  },
  {
    label: '类型',
    template: {
      type: 'label',
      prop: 'type',
    },
    center: true,
    width: 120,
    color: 'danger',
  },
  {
    label: '评论时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 200,
  },
]
export const commentArticleSearchForm = [
  {
    label: '评论内容',
    prop: 'content',
    element: 'input',
    placeholder: '输入评论内容',
  },
]
export const commentMessageListSc = [
  {
    label: '头像',
    template: {
      type: 'image',
      prop: 'avatar_url',
    },
    center: true,
    width: 60,
  },
  {
    label: '评论者',
    template: {
      type: 'text',
      prop: 'user_nickname',
    },
    center: true,
    width: 120,
  },
  {
    label: '说说内容',
    template: {
      type: 'text',
      prop: 'message_content',
    },
    center: true,
    width: 120,
  },
  {
    label: '评论内容',
    template: {
      type: 'text',
      prop: 'content',
    },
    center: true,
    width: 120,
  },
  {
    label: '类型',
    template: {
      type: 'label',
      prop: 'type',
    },
    center: true,
    width: 120,
    color: 'danger',
  },
  {
    label: '回复的评论内容',
    template: {
      type: 'text',
      prop: 'reply_comment_content',
    },
    center: true,
    width: 120,
  },
  {
    label: '评论时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 200,
  },
]
export const commentMessageSearchForm = [
  {
    label: '评论内容',
    prop: 'content',
    element: 'input',
    placeholder: '输入评论内容',
  },
]
export const labelSc = [
  {
    label: 'ID',
    template: {
      type: 'text',
      prop: 'id',
    },
    center: true,
    width: 50,
  },
  {
    label: '标签',
    template: {
      type: 'label',
      prop: 'label_name',
    },
    center: true,
    width: 120,
  },
  {
    label: '文章数量',
    template: {
      type: 'text',
      prop: 'article_label_count',
    },
    center: true,
    width: 120,
  },
  {
    label: '创建时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 200,
  },
  {
    label: '更新时间',
    template: {
      type: 'text',
      prop: 'updateAt',
    },
    center: true,
    width: 200,
  },
]
export const typeSc = [
  {
    label: 'ID',
    template: {
      type: 'text',
      prop: 'id',
    },
    center: true,
    width: 50,
  },
  {
    label: '类型',
    template: {
      type: 'label',
      prop: 'type_name',
    },
    center: true,
    width: 120,
    color: 'success',
  },
  {
    label: '文章数量',
    template: {
      type: 'text',
      prop: 'article_type_count',
    },
    center: true,
    width: 120,
  },
  {
    label: '创建时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 200,
  },
  {
    label: '更新时间',
    template: {
      type: 'text',
      prop: 'updateAt',
    },
    center: true,
    width: 200,
  },
]
export const messageListSc = [
  {
    label: '头像',
    template: {
      type: 'image',
      prop: 'avatar',
    },
    center: true,
    width: 50,
  },
  {
    label: '作者',
    template: {
      type: 'text',
      prop: 'author',
    },
    center: true,
    width: 80,
  },
  {
    label: '内容',
    template: {
      type: 'emoji',
      prop: 'content',
    },
    center: true,
    width: 120,
  },
  {
    label: '评论数量',
    template: {
      type: 'text',
      prop: 'commentCount',
    },
    center: true,
    width: 80,
  },
  {
    label: '发布时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 200,
  },
]
export const messageSearchForm = [
  {
    label: '说说内容',
    prop: 'content',
    element: 'input',
    placeholder: '输入评论内容',
  },
]
export const wordListSc = [
  {
    label: '头像',
    template: {
      type: 'image',
      prop: 'avatar_url',
    },
    center: true,
    width: 80,
  },
  {
    label: '作者',
    template: {
      type: 'text',
      prop: 'user_nickname',
    },
    center: true,
    width: 120,
  },
  {
    label: '留言内容',
    template: {
      type: 'emoji',
      prop: 'content',
    },
    center: true,
    width: 300,
  },
  {
    label: '审核状态',
    template: {
      type: 'state',
      prop: 'is_examine',
    },
    center: true,
    width: 80,
  },
  {
    label: '留言时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 180,
  },
]
export const roleListSc = [
  {
    label: '角色',
    template: {
      type: 'text',
      prop: 'role_name',
    },
    center: true,
    width: 120,
  },
  {
    label: '创建时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 180,
  },
]
export const usersListSc = [
  {
    label: '头像',
    template: {
      type: 'image',
      prop: 'avatar_url',
    },
    center: true,
    width: 60,
  },
  {
    label: '邮箱',
    template: {
      type: 'text',
      prop: 'user_email',
    },
    center: true,
    width: 120,
  },
  {
    label: '昵称',
    template: {
      type: 'text',
      prop: 'user_nickname',
    },
    center: true,
    width: 100,
  },
  {
    label: ' 个性签名',
    template: {
      type: 'text',
      prop: 'user_describe',
    },
    center: true,
    width: 100,
  },
  {
    label: ' 角色',
    template: {
      type: 'text',
      prop: 'role_name',
    },
    center: true,
    width: 80,
  },
  {
    label: ' 个人网站',
    template: {
      type: 'text',
      prop: 'website',
    },
    center: true,
    width: 100,
  },
  {
    label: '最近登录',
    template: {
      type: 'text',
      prop: 'updateAt',
    },
    center: true,
    width: 110,
  },
  {
    label: '注册时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 120,
  },
]
export const visitorListSc = [
  {
    label: 'ip地址',
    template: {
      type: 'text',
      prop: 'ip',
    },
    center: true,
    width: 80,
  },
  {
    label: '设备类型',
    template: {
      type: 'text',
      prop: 'deviceType',
    },
    center: true,
    width: 50,
  },
  {
    label: '操作系统',
    template: {
      type: 'text',
      prop: 'OS',
    },
    center: true,
    width: 50,
  },
  {
    label: '操作系统版本',
    template: {
      type: 'text',
      prop: 'OSVersion',
    },
    center: true,
    width: 50,
  },
  {
    label: '屏幕宽高',
    template: {
      type: 'text',
      prop: 'screen',
    },
    center: true,
    width: 80,
  },
  {
    label: '浏览器',
    template: {
      type: 'text',
      prop: 'browserInfo',
    },
    center: true,
    width: 120,
  },
  {
    label: '登录地',
    template: {
      type: 'text',
      prop: 'address',
    },
    center: true,
    width: 80,
  },
  {
    label: '访问时间',
    template: {
      type: 'text',
      prop: 'createAt',
    },
    center: true,
    width: 100,
  },
]
